package com.windoent.yugioh.bean;

import java.util.List;

/**
 * author : robert
 * date   : 2021/4/30 11:53
 * desc   :
 */
public class UserInfoBean {

    /**
     * code : 200
     * data : {"user":{"id":2,"phone":"18930735287","avatar":"https://yugioh-1258002530.cos.ap-shanghai.myqcloud.com/Android/yingdie_crop_20210506125054.png","nickName":"自传","email":"","gender":"男","city":"","province":"","birthday":"","signature":"","realName":"","cardNumber":"","isReal":false,"isPlayer":true,"isReferee":false,"isCustomer":false,"platform":{"apple":false,"qq":true,"wx":true},"roles":[{"players":"选手"}],"selectRole":"players","inviteCode":"","shopId":0}}
     * msg : 获取成功
     */

    private int code;
    private DataBean data;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBean {
        /**
         * user : {"id":2,"phone":"18930735287","avatar":"https://yugioh-1258002530.cos.ap-shanghai.myqcloud.com/Android/yingdie_crop_20210506125054.png","nickName":"自传","email":"","gender":"男","city":"","province":"","birthday":"","signature":"","realName":"","cardNumber":"","isReal":false,"isPlayer":true,"isReferee":false,"isCustomer":false,"platform":{"apple":false,"qq":true,"wx":true},"roles":[{"players":"选手"}],"selectRole":"players","inviteCode":"","shopId":0}
         */
        private String messageNums;

        public String getMessageNums() {
            return messageNums;
        }

        public void setMessageNums(String messageNums) {
            this.messageNums = messageNums;
        }

        private UserBean user;

        public UserBean getUser() {
            return user;
        }

        public void setUser(UserBean user) {
            this.user = user;
        }

        public static class UserBean {
            /**
             * id : 2
             * phone : 18930735287
             * avatar : https://yugioh-1258002530.cos.ap-shanghai.myqcloud.com/Android/yingdie_crop_20210506125054.png
             * nickName : 自传
             * email :
             * gender : 男
             * city :
             * province :
             * birthday :
             * signature :
             * realName :
             * cardNumber :
             * isReal : false
             * isPlayer : true
             * isReferee : false
             * isCustomer : false
             * platform : {"apple":false,"qq":true,"wx":true}
             * roles : [{"players":"选手"}]
             * selectRole : players
             * inviteCode :
             * shopId : 0
             */

            private int id;
            private int view_id;
            private String phone;
            private String avatar;
            private String nickName;
            private String email;
            private String gender;
            private String areaString;
            private String province;
            private String birthday;
            private String signature;
            private String realName;
            private String cardNumber;
            private boolean isReal;
            private boolean isPlayer;
            private boolean isReferee;
            private boolean isCustomer;
            private PlatformBean platform;
            private String selectRole;
            private String inviteCode;
            private int shopId;
            private List<RolesBean> roles;
            private int zoneId;
            private int cityId;
            private int countyId;
            private String zone;
            private String city;
            private String county;

            public String getZone() {
                return zone;
            }

            public void setZone(String zone) {
                this.zone = zone;
            }

            public String getCity() {
                return city;
            }

            public void setCity(String city) {
                this.city = city;
            }

            public String getCounty() {
                return county;
            }

            public void setCounty(String county) {
                this.county = county;
            }

            public int getZoneId() {
                return zoneId;
            }

            public void setZoneId(int zoneId) {
                this.zoneId = zoneId;
            }

            public int getCityId() {
                return cityId;
            }

            public void setCityId(int cityId) {
                this.cityId = cityId;
            }

            public int getCountyId() {
                return countyId;
            }

            public void setCountyId(int countyId) {
                this.countyId = countyId;
            }

            public int getView_id() {
                return view_id;
            }

            public void setView_id(int view_id) {
                this.view_id = view_id;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getPhone() {
                return phone;
            }

            public void setPhone(String phone) {
                this.phone = phone;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public String getNickName() {
                return nickName;
            }

            public void setNickName(String nickName) {
                this.nickName = nickName;
            }

            public String getEmail() {
                return email;
            }

            public void setEmail(String email) {
                this.email = email;
            }

            public String getGender() {
                return gender;
            }

            public void setGender(String gender) {
                this.gender = gender;
            }

            public String getAreaString() {
                return areaString;
            }

            public void setAreaString(String areaString) {
                this.areaString = areaString;
            }

            public String getProvince() {
                return province;
            }

            public void setProvince(String province) {
                this.province = province;
            }

            public String getBirthday() {
                return birthday;
            }

            public void setBirthday(String birthday) {
                this.birthday = birthday;
            }

            public String getSignature() {
                return signature;
            }

            public void setSignature(String signature) {
                this.signature = signature;
            }

            public String getRealName() {
                return realName;
            }

            public void setRealName(String realName) {
                this.realName = realName;
            }

            public String getCardNumber() {
                return cardNumber;
            }

            public void setCardNumber(String cardNumber) {
                this.cardNumber = cardNumber;
            }

            public boolean isIsReal() {
                return isReal;
            }

            public void setIsReal(boolean isReal) {
                this.isReal = isReal;
            }

            public boolean isIsPlayer() {
                return isPlayer;
            }

            public void setIsPlayer(boolean isPlayer) {
                this.isPlayer = isPlayer;
            }

            public boolean isIsReferee() {
                return isReferee;
            }

            public void setIsReferee(boolean isReferee) {
                this.isReferee = isReferee;
            }

            public boolean isIsCustomer() {
                return isCustomer;
            }

            public void setIsCustomer(boolean isCustomer) {
                this.isCustomer = isCustomer;
            }

            public PlatformBean getPlatform() {
                return platform;
            }

            public void setPlatform(PlatformBean platform) {
                this.platform = platform;
            }

            public String getSelectRole() {
                return selectRole;
            }

            public void setSelectRole(String selectRole) {
                this.selectRole = selectRole;
            }

            public String getInviteCode() {
                return inviteCode;
            }

            public void setInviteCode(String inviteCode) {
                this.inviteCode = inviteCode;
            }

            public int getShopId() {
                return shopId;
            }

            public void setShopId(int shopId) {
                this.shopId = shopId;
            }

            public List<RolesBean> getRoles() {
                return roles;
            }

            public void setRoles(List<RolesBean> roles) {
                this.roles = roles;
            }

            public static class PlatformBean {
                /**
                 * apple : false
                 * qq : true
                 * wx : true
                 */

                private boolean apple;
                private boolean qq;
                private boolean wx;

                public boolean isApple() {
                    return apple;
                }

                public void setApple(boolean apple) {
                    this.apple = apple;
                }

                public boolean isQq() {
                    return qq;
                }

                public void setQq(boolean qq) {
                    this.qq = qq;
                }

                public boolean isWx() {
                    return wx;
                }

                public void setWx(boolean wx) {
                    this.wx = wx;
                }
            }

            public static class RolesBean {
                /**
                 * players : 选手
                 */

                private String players;

                public String getPlayers() {
                    return players;
                }

                public void setPlayers(String players) {
                    this.players = players;
                }
            }
        }
    }
}
